/**
 * 
 */
package com.aspire.android.heliar.pub.render;

import java.util.Map;

import android.graphics.Paint;
import android.text.SpannableStringBuilder;

import com.aspire.android.heliar.pub.Pub;

/**
 * @author panglei
 *
 */
public abstract class PubRender {
	
	public PubRender(Paint paint) {
		super();
		this.paint = paint;
	}

	private Paint paint;
	
	public Paint getPaint() {
		return paint;
	}

	public void setPaint(Paint paint) {
		this.paint = paint;
	}

	public abstract SpannableStringBuilder render(Pub pub);
	
	public abstract Map<String, Integer> getPubOutlines();
	
}
